markRead

fun markRead(to: JsonAddress, timestamps: Collection<Long>, when: Long = Clock.System.now().toEpochMilliseconds())

Marks the given messages (represented as timestamps) as read. Note that messages are identified using their timestamps.

Parameters

to

The address that sent the messages that will be marked as read.

timestamps

The timestamps of the messages we want to mark as read.

when

The timestamp to use for when we mark as read. Defaults to the current system clock's timestamp.

Throws